package com.zn.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zn.Vo.CardAndCareerVo;
import com.zn.Vo.CareerAndAdminVo;
import com.zn.bean.Career;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zn.utils.Result;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 码农小周
 * @since 2023-05-12
 */
public interface CareerService extends IService<Career> {

    Result<Page<CareerAndAdminVo>> CareerList(Long page, Long pageSize, String careerName);

    Result<String> addCareer(Career career);

    Result<String> editCareer(Career career);

    Result<String> delCareer(Long id);
}
